file(GLOB_RECURSE VisitorFiles "${PROJECT_SOURCE_DIR}/lib/Visitor/*.cpp")
message("Visitor files: ${VisitorFiles}")
add_library(Visitor ${VisitorFiles})
target_link_libraries(Visitor
    PUBLIC 
    antlr_generated
    ObjectSystem
    TypeSystem
    ScopeSystem
    SemanticError
    Utils
    antlr4_static
    ${llvm_libs}
)